<?php if (!defined('THINK_PATH')) exit();?>
    <tr>
        <th>编号</th>
        <th><i class="fa fa-header"></i> 广告标题</th>
        <th><i class="fa fa-image"> 广告图片</th>
        
        <th id='time'><i class="fa fa-clock-o">发布时间<span class="glyphicon glyphicon-triangle-bottom" style="margin-left:5px;color:#bbb"></span></th>
        <th><i class="fa"> 广告排序</th>
        <th><i class="fa"> 位置</th>
        <th>操作</th>
    </tr>
    <?php if(is_array($banner)): foreach($banner as $key=>$v): ?><tr>
        <td><?php echo ($a++); ?></td>
        <td class='banner_title'>
          <input type="text" value="<?php echo ($v["banner_title"]); ?>" readonly data_id="<?php echo ($v["banner_id"]); ?>">
        </td>
        <td><img src="/furniture/Upload/<?php echo ($v["banner_path"]); ?>" alt="" height="50" /></td>
       
        <td><?php echo (date("Y-m-d",$v["banner_addtime"])); ?></td>
        
        <td><?php echo ($v["banner_ord"]); ?></td>
        <td><?php echo ($v["banner_position"]); ?></td>
        <td>
            <a href="<?php echo U('Admin/banner/banner_edit/aid/'.$v['banner_id']);?>" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>                                        
            <a href="javascript:void(0)" class="btn btn-white btn-sm del" a_id="<?php echo ($v["banner_id"]); ?>"><i class="fa fa-trash"></i> 删除 </a>
        </td>
    </tr><?php endforeach; endif; ?>        

    <tr>
      <td colspan="8"><?php echo ($show); ?></td>
    </tr>